#ifndef __SCENE_IMAGE_LOADER_H__
#define __SCENE_IMAGE_LOADER_H__


#include <QtWidgets/QtWidgets>
#include "SceneEditor.h"


class ImageInfo;


class SceneImageLoader : public QObject
{
    Q_OBJECT
    Q_DISABLE_COPY(SceneImageLoader)

signals:
    void started();
    void totalSteps(int);
    void progress(int, ImageInfo *, int, QGraphicsPixmapItem *);
    void finished(int, const QString &);

public slots:
    void run();

public:
    SceneImageLoader(const QString &imagePath, const QString &filePath);
    virtual ~SceneImageLoader();

protected:
    QString mImagePath;
    QString mFilePath;
};


#endif  /*__SCENE_IMAGE_LOADER_H__*/
